﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhy.DigitaPlatform.Models
{
    /// <summary>
    /// 属性区域选项的实体
    /// </summary>
    public class PropOptionModel
    {
        /// <summary>
        /// 用来显示标题  比如："串口名称" 
        /// </summary>
        public string Header { get; set; }
        /// <summary>
        /// 用来保存的属性实际值  "PortName"
        /// </summary>
        public string PropName { get; set; }
        /// <summary>
        /// 属性的操作类型   0表示键盘输入   1表示下拉选择
        /// </summary>
        public int PropType { get; set; }
        /// <summary>
        /// 属性实际值下拉列表数据集合
        /// </summary>
        public List<string> ValueOptions { get; set; }
        /// <summary>
        /// 属性实际值下拉列表默认选中索引
        /// </summary>
        public int DefaultIndex { get; set; }
    }
}
